﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;

namespace AVCare.LMS.Models
{
    [DisplayName("Daily")]
    [Table("LMS_T_FileVideos")]
    public class VODInfo
    {
        [Key]
        [Column("videoID")]
        public int ID { get; set; }

        [Column("subjectID")]
        public int SubjectID { get; set; }

        [Column("tittle")]
        public string Title { get; set; }

        [Column("image")]
        public byte[] Image { get; set; }

        [Column("date")]
        public DateTime CreateDate { get; set; }

        [Column("URI")]
        public string URI { get; set; }

        [Column("userID")]
        public string User { get; set; }

        [Column("description")]
        public string Description { get; set; }

        [Column("views")]
        public int Count { get; set; }
    }
}
